//
//  ProductInfoViewControllerCell.m
//  MJApp
//
//  Created by John on 15/5/5.
//  Copyright (c) 2015年 wangliang. All rights reserved.
//

#import "ProductInfoViewControllerCell.h"
@interface ProductInfoViewControllerCell()
@property (weak, nonatomic) IBOutlet UIImageView *image;

@end
@implementation ProductInfoViewControllerCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setInfoDic:(NSDictionary *)infoDic{

    [super setInfoDic:infoDic];
    NSString * urlStr = [NSString stringWithFormat:@"%@%@",kUrl,infoDic[@"image"]];
    
    [self.image sd_setImageWithURL:[NSURL URLWithString:urlStr] placeholderImage:nil];
}
@end
